package mk.timska_rabota_android;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import appwarp.example.chatdemo.MainActivity;

public class DebugMainMenu extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_debug_main_menu);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.debug_main_menu, menu);
		return true;
	}
	
	public void toHistory(View v){
		Intent intent = new Intent(this, Map.class);
		intent.putExtra("Longitude", 22.4793657);
		intent.putExtra("Latitude", 41.1791425);
		startActivity(intent);
	}
	public void toGetContacts(View v){
		Intent intent = new Intent(this, Main.class);
		startActivity(intent);
	}
	
	public void toContacts(View v){
		Intent intent = new Intent(this, ListContacts.class);
		startActivity(intent);
	}
	
	public void toAddContact(View v){
		Intent intent = new Intent(this, AddContactClass.class);
		startActivity(intent);
	}
	public void toSendMessage(View v){
		Intent intent = new Intent(this, STFMessage.class);
		startActivity(intent);
	}
	
	public void toListNewMessages(View v){
		Intent intent = new Intent(this, ListNewMessages.class);
		startActivity(intent);
	}
	public void toServiceTrial(View v){
		Intent intent = new Intent(this, TrialServices.class);
		startActivity(intent);
	}
	public void toChat(View v)
	{
		Intent intent = new Intent(this, MainActivity.class );
		startActivity(intent);
	}
	
	
	

}
